<div class="page-header">
    <h1>New blog</h1>
</div>

<% form_for(blog, {action: path_to.blogs(), method: 'POST', id: "blog_form", class: 'form-horizontal'}, function (form) { %>
    <%- errorMessagesFor(blog) %>
<div class="control-group">
   <%- form.label("微博", false, {class: "control-label"}) %>
   <div class="controls">
<textarea name="Blog[content]" id="Blog_content">please enter world here is</textarea> 
       <%-- form.textarea("content") %>
   </div>
</div>
    <div class="form-actions">
        <%- form.submit('<i class="icon-ok icon-white"></i> Create blog', {class: 'btn btn-primary'}) %> or
        <%- link_to('Cancel', path_to.blogs(), {class: 'btn'}) %>
    </div>
<% });%>
